package com.fivefu.core.skyeye.event.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 场景探头关联表
 * </p>
 *
 * @author 
 * @since 2022-09-07 15:00:32
 */
@TableName("db_ai_scene_camera")
@ApiModel(value = "DbAiSceneCamera对象", description = "场景探头关联表")
public class DbAiSceneCamera {

    @ApiModelProperty("自增ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("是否删除0否1是")
    private Integer isDelete;

    @ApiModelProperty("创建人")
    private String createdBy;

    @ApiModelProperty("创建时间")
    private LocalDateTime createdTime;

    @ApiModelProperty("更新人")
    private String updatedBy;

    @ApiModelProperty("更新时间")
    private LocalDateTime updatedTime;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("场景编号")
    private String sceneId;

    @ApiModelProperty("探头编号")
    private String cameraId;

    @ApiModelProperty("是否开启;0:否,1:是")
    @TableField("`enable`")
    private Integer enable;

    @ApiModelProperty("是否限定区域;0:否,1:是")
    private Integer scope;

    @ApiModelProperty("区域")
    private String scopeArea;

    @ApiModelProperty("探头有效时间;时间格式：HHmm,示例：[[\"0900\",\"1000\"],[\"1100\",\"1200\"]]")
    private String cameraValidTime;

    @ApiModelProperty("切片机器编号")
    private Long sliceNode;

    @ApiModelProperty("识别机器编号")
    private Long eventNode;

    @ApiModelProperty("识别参数")
    private String cvParam;

    @ApiModelProperty("缩略图")
    private String image;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public LocalDateTime getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(LocalDateTime createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public LocalDateTime getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(LocalDateTime updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getSceneId() {
        return sceneId;
    }

    public void setSceneId(String sceneId) {
        this.sceneId = sceneId;
    }

    public String getCameraId() {
        return cameraId;
    }

    public void setCameraId(String cameraId) {
        this.cameraId = cameraId;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public Integer getScope() {
        return scope;
    }

    public void setScope(Integer scope) {
        this.scope = scope;
    }

    public String getScopeArea() {
        return scopeArea;
    }

    public void setScopeArea(String scopeArea) {
        this.scopeArea = scopeArea;
    }

    public String getCameraValidTime() {
        return cameraValidTime;
    }

    public void setCameraValidTime(String cameraValidTime) {
        this.cameraValidTime = cameraValidTime;
    }

    public Long getSliceNode() {
        return sliceNode;
    }

    public void setSliceNode(Long sliceNode) {
        this.sliceNode = sliceNode;
    }

    public Long getEventNode() {
        return eventNode;
    }

    public void setEventNode(Long eventNode) {
        this.eventNode = eventNode;
    }

    public String getCvParam() {
        return cvParam;
    }

    public void setCvParam(String cvParam) {
        this.cvParam = cvParam;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    @Override
    public String toString() {
        return "DbAiSceneCamera{" +
        "id=" + id +
        ", isDelete=" + isDelete +
        ", createdBy=" + createdBy +
        ", createdTime=" + createdTime +
        ", updatedBy=" + updatedBy +
        ", updatedTime=" + updatedTime +
        ", remark=" + remark +
        ", sceneId=" + sceneId +
        ", cameraId=" + cameraId +
        ", enable=" + enable +
        ", scope=" + scope +
        ", scopeArea=" + scopeArea +
        ", cameraValidTime=" + cameraValidTime +
        ", sliceNode=" + sliceNode +
        ", eventNode=" + eventNode +
        ", cvParam=" + cvParam +
        ", image=" + image +
        "}";
    }
}
